class RenameColumnReceiveOffersInUsersTable < ActiveRecord::Migration
def self.up
   rename_column :users, :recieve_offers, :recieve_third_party_mails
   add_column :users, :recieve_smc_mails, :integer

 end

 def self.down
      rename_column :users, :recieve_third_party_mails, :recieve_offers
      remove_column :users, :recieve_smc_mails
 end
end
